package com.platform.service;

import com.platform.dto.OrderGoodsReturnDTO;
import com.platform.entity.OrderEntity;
import com.platform.entity.OrderGoodsEntity;
import com.platform.entity.ReturnEntity;
import com.platform.utils.R;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2017-08-13 10:41:09
 */
public interface ReturnService {

    List<ReturnEntity> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    ReturnEntity queryObject(Long id);

    OrderGoodsReturnDTO queryDetail(Long id);

    R saveAudit(OrderGoodsReturnDTO orderGoodsReturnDTO);

    R closeReturn(ReturnEntity returnEntity);
}
